package com.guaoran.interview.spring.aop.service;

/**
 * @author : 孤傲然
 * @description : jdk 代理类 实现两个接口，并集成一个接口
 * @date :2020/1/7 13:48
 */
public class JdkProxyServiceImpl extends CglibService implements JdkProxyService,IDemoService {
    @Override
    public void jdk() {
        System.err.println("jdk");
    }

    @Override
    public void proxy() {
        System.err.println("proxy");
    }

    @Override
    public String demo() {
        System.err.println("demo");
        return null;
    }

    @Override
    public void cglib() {
        System.err.println("jdk cglib");
        super.cglib();
    }
}
